<%page expression_filter="h"/>
<%inherit file="../main.html"/>
<%
from django.urls import reverse
from django.utils.translation import gettext as _

from common.djangoapps.edxmako.shortcuts import marketing_link

%>

<div class="financial-assistance-wrapper">

  % if reason:
    <p>This course is not eligible for Financial Assistance for the following reason: <b>${reason}</b></p>
  % else:
    <div class="financial-assistance financial-assistance-header">
      <h1>${_("Financial Assistance Application")}</h1>
      % for line in header_text:
        <p>${line}</p>
      % endfor
    </div>
    <div class="financial-assistance financial-assistance-body">
      <h2>${_("A Note to Learners")}</h2>
      ## Translators: This string will not be used in Open edX installations.
      <p>${_("Dear edX Learner,")}</p>

      ## Translators: This string will not be used in Open edX installations.
      <p>${_("EdX Financial Assistance is a program we created to give learners in all financial circumstances a chance to earn a Verified Certificate upon successful completion of an edX course.")}</p>

      ## Translators: This string will not be used in Open edX installations.
      <p>${_("If you are interested in working toward a Verified Certificate, but cannot afford to pay the fee, please apply now. Please note that financial assistance is limited and may not be awarded to all eligible candidates.")}</p>

      ## Translators: This string will not be used in Open edX installations.
      <p>${_("If your application is approved, we'll give you instructions for verifying your identity on edx.org so you can start working toward completing your edX course.")}</p>

      ## Translators: This string will not be used in Open edX installations.
      <p>${_("EdX is committed to making it possible for you to take high quality courses from leading institutions regardless of your financial situation, earn a Verified Certificate, and share your success with others.")}</p>
      ## Translators: This string will not be used in Open edX installations. Do not translate the name "Anant".
      <p class="signature">${_("Sincerely,")}</p>
      <p class="signature">${_("Anant")}</p>
    </div>
  % endif


  <div class="financial-assistance-footer">
  % if not reason:
    <a class="btn btn-primary action-link" href="${apply_url}" role="button">${_("Apply for Financial Assistance")}</a>
  % endif
  </div>
</div>
